module PagesHelper
  def note_author(note)
    name = note.name || _('afriend')
    linkornot= note.website ? "<a href='http://#{note.website}'>#{name}</a>" : name
    "<span class='author'>#{linkornot} #{note.created_at.strftime("%H:%M %d.%m.%y")}&nbsp;#{friend_icon(note.friend, 'icon') if note.friend}</span>"
  end
end